Dx.declare('Dx.net.client.scriptTag', {

   '@extend': 'Dx.net.Client',
   
   '@callback': function(className, Class, Prototype) {

      if (Dx.is('browser')) {

         Prototype.enabled = true;

      }

   },
   
   constructor: function() {
      
      // create readyState handler
      var me = this;
      
      var handler = this._callback_stateChangeHandler;
      
      this._callback_stateChangeHandler = function() {
         
         return handler.apply(me, arguments);
         
      };
      
      this.$super(arguments);
      
   },
   
});